package com.bjpowernode.rbac.service;

import com.bjpowernode.rbac.entity.Department;
import com.bjpowernode.rbac.query.QueryObject;
import com.github.pagehelper.PageInfo;

/**
 * @author jy
 * @version 1.0
 * @date 2022/2/7 19:12
 */
public interface DepartmentService {
    PageInfo<Department> selectDepartmentByCondition(QueryObject queryObject);

    void saveOrUpdate(Department department);

    void delete(Long id);
}
